package com.ssy.jt808.gateway.domain.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * @author zeno
 */
@Data
@ConfigurationProperties(prefix="jt808-gateway.terminal.kafka")
public class KafkaConfigProperties{

  private TopicSetting topic;

  @Data
  public static class TopicSetting{
    private Integer            partitions;
    private Short              replicas;
    private Map<String,String> config;
  }
}
